{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">Home</a>
            </li>

            <li>
             <a href="{:url('admin/office/supplies')}">返回上一级</a>
            </li>
            <li class="active">入库详情信息</li>
        </ul><!-- .breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
                <span class="input-icon">
                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                    <i class="icon-search nav-search-icon"></i>
                </span>
            </form>
        </div><!-- #nav-search -->
    </div>
    <div class="page-content">
        <div class="row">
        <div class="col-xs-2">
        </div>
            <div class="col-xs-8">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="table-responsive">
                                   <div class="form-group">
                                       <input type="hidden" class="form-control"  name="id" value= "{$list['id']}">
                                    <label for="exampleInputEmail1">用品名称</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" placeholder="supplies_name" name="supplies_name"  value="{$list['supplies_name']}" >
                                  </div>
                                   <div class="form-group">
                                    <label for="exampleInputEmail1">供应商</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" placeholder="Email" name="supplier" value="{$list['supplier']}">
                                  </div>
                                   <div class="form-group">
                                    <label for="exampleInputEmail1">实际单价</label>
                                    <input type="text" class="form-control" id="price" placeholder="number" onkeyup="changFom(this)"   name="number" value="{$list['number']}">
                                  </div>
                                  <div class="form-group">
                                    <label for="exampleInputEmail1">添加入库数量</label>
                                    <input type="text" class="form-control" id="number" onkeyup="changFom(this)"  placeholder="Email"  name="unit_price" value="{$list['unit_price']}">
                                  </div>
                                  <div class="form-group">
                                    <label for="exampleInputPassword1">入库总价</label>
                                    <input type="text" class="form-control" id="c" placeholder="total_price" name="total_price" value="{$list['total_price']}" readonly >
                                      <input type="hidden" id="d" name="in_total_price" class="col-xs-10 col-sm-5" readonly>
                                  </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword1">库存</label>
                                    <input type="text" class="form-control" id="inventory"  placeholder="不填以入库数量为准" readonly>
                                    <input type="hidden" class="form-control" id="inventorys"  placeholder="默认值是1"  value="{$list['inventory']}" readonly>
                                    <input type="hidden" class="form-control" id="inventory_number" placeholder="inventory" name="inventory" value="{$list['inventory']}">
                                </div>
                                  <div class="form-group">
                                  <button  class="btn btn-info up_btn" id="add_Warehouse" >确认更改</button>
                                      <div class="col-xs-8">
                                      </div>
                                      <a href="{:url('admin/office/supplies')}" class="btn btn-info" id="aa" >返回上一级</a>

                                </div>
                    </div>
            </div>
            <div class="col-xs-3">
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
</div>
{/block}

        {block name="myjs"}
        {js href="/static/admin/assets/js/toastr.min.js"}
        <script src="/static/admin/assets/meijs/admin_office.js"> </script>
        {/block}
